package com.startasone.service;

import com.startasone.pojo.Dept;

import java.util.List;

public interface DeptService {
    public void update(Dept dept);
    public List<Dept> list();
    public void delete(Integer id) throws Exception;

    public void save(Dept dept);
    public Dept getById(Integer id);
}
